package com.fire.eyes.request.element;

import java.io.Serializable;

/**
 *
 * @author Aspire
 * @date 2018-04-18
 */
public class BaseCodeDTO implements Serializable {
	
	private static final long serialVersionUID = 4340918046863232174L;
	
	private String code;
	private String description;
	
	public BaseCodeDTO() {}
	
	public BaseCodeDTO(String code) {
		this.code = code;
	}
	
	public BaseCodeDTO(String code, String description) {
		this.code = code;
		this.description = description;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	@Override
	public String toString() {
		return this.getClass().getSimpleName() + " [code=" + code + ", description=" + description + "]";
	}
	
}
